@xworker.example.tutorial.lession 3.Person
sname
Person
slabel
Person
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
@xworker.example.tutorial.lession 3.Person/@actions
sname
actions
sdescriptors
xworker.lang.MetaDescriptor3/@actions
@xworker.example.tutorial.lession 3.Person/@actions/@isLike
sname
isLike
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
if(self.getActionThing(actionName) == null){
    log.info("{} cann't do {}!", self.name, actionName);
}else{
    log.info(self.name + " think " + actionName + " is " + self.doAction(actionName, actionContext));
}
#$@text#$@
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.example.tutorial.lession 3.Person/@actions/@eatCandy
sname
eatCandy
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
scode
return "good";
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.example.tutorial.lession 3.Person/@actions/@eat
sname
eat
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
scode
return "good";
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.example.tutorial.lession 3.Person/@menuActions
sname
menuActions
sdescriptors
xworker.lang.MetaDescriptor3/@actions
@xworker.example.tutorial.lession 3.Person/@menuActions/@doMenuAction
sname
doMenuAction
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
switch(event.widget.text){
    case "Play":
        currentThing.doAction("isLike", actionContext, ["actionName":"play"]);
        break;
    case "Eat":
        currentThing.doAction("isLike", actionContext, ["actionName":"eat"]);
        break;
    case "EatCandy":
        currentThing.doAction("isLike", actionContext, ["actionName":"eatCandy"]);
        break;
    default:
        log.info("nothing can do");
}
#$@text#$@
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.example.tutorial.lession 3.Person/@name
sname
name
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
@xworker.example.tutorial.lession 3.Person/@age
sname
age
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
@xworker.example.tutorial.lession 3.Person/@Child
sname
Child
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.example.tutorial.lession 3.Person
smany
true
seditCols
2
sinitialization
false
smodifier
public
@xworker.example.tutorial.lession 3.Person/@Child/@actions
sname
actions
sdescriptors
xworker.lang.MetaDescriptor3/@actions
@xworker.example.tutorial.lession 3.Person/@Child/@actions/@eatCandy
sname
eatCandy
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
scode
return "wonderful";
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.example.tutorial.lession 3.Person/@Child/@actions/@play
sname
play
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
scode
return "wonderful";
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.example.tutorial.lession 3.Person/@sswtMenus
sname
sswtMenus
sdescriptors
xworker.lang.MetaDescriptor3/@swtMenus
@xworker.example.tutorial.lession 3.Person/@sswtMenus/@menuDefine
sname
menuDefine
sdescriptors
xworker.lang.MetaDescriptor3/@swtMenus/@menuDefine
@xworker.example.tutorial.lession 3.Person/@sswtMenus/@menuDefine/@Person
sname
Person
slabel
Person
sdescriptors
xworker.lang.ThingMenu/@menuDefine/@menu
@xworker.example.tutorial.lession 3.Person/@sswtMenus/@personMenu
sname
personMenu
stype
data
smenuType
Person
sdescriptors
xworker.lang.MetaDescriptor3/@swtMenus/@menuSetting
@xworker.example.tutorial.lession 3.Person/@sswtMenus/@personMenu/@doPlay
sname
doPlay
slabel
Play
surl
xworker.example.tutorial.lession 3.Person/@menuActions/@doMenuAction
sisSplit
false
sattachParam
true
sdescriptors
xworker.lang.ThingMenu/@menuSetting/@menu
@xworker.example.tutorial.lession 3.Person/@sswtMenus/@personMenu/@doEat
sname
doEat
slabel
Eat
surl
xworker.example.tutorial.lession 3.Person/@menuActions/@doMenuAction
sisSplit
false
sattachParam
true
sdescriptors
xworker.lang.ThingMenu/@menuSetting/@menu
@xworker.example.tutorial.lession 3.Person/@sswtMenus/@personMenu/@eatCandy
sname
eatCandy
slabel
EatCandy
surl
xworker.example.tutorial.lession 3.Person/@menuActions/@doMenuAction
sisSplit
false
sattachParam
true
sdescriptors
xworker.lang.ThingMenu/@menuSetting/@menu
